package com.meilai.project.mapper.business.workbench;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.meilai.project.entity.business.workbench.Year;
import com.meilai.project.vo.business.workbench.YearTargetVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 年度表 Mapper 接口
 * </p>
 *
 * @author haiYangXu
 * @since 2022-08-16
 */
@Mapper
public interface YearMapper extends BaseMapper<Year> {

    /**
     * 列表分页
     *
     * @param page
     * @param year
     * @return
     */
    List<YearTargetVO> page(@Param("page") Page<YearTargetVO> page, @Param("year")Integer year);
}
